package com.cw.japp

class UserContact {

	String hash
	Boolean pending
	String userIp
	Integer status
	Date lastModifiedDate
	Date createdDate
	User usersByOwnerId
	User usersByUserId

	static belongsTo = [User]

	static mapping = {
		id column: "user_contact_id"
		version false
	}

	static constraints = {
		hash nullable: true
		pending nullable: true
		userIp nullable: true
		status nullable: true
		lastModifiedDate nullable: true
		createdDate nullable: true
	}
}
